package com.briup.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * @author wood
 */
@ConfigurationProperties(prefix = "briup.config.zookeeper")
@Data
@Component
public class ZookeeperProperties {

    private String address = "192.168.245.129:2181";
    private String taskPath = "/plant-identify/task";
    private String resultPath = "/plant-identify/result";
    private int baseSleepTimeMs = 3000;
    private int maxRetries = 10;
    private int sessionTimeoutMs = 60000;
    private int connectionTimeoutMs = 15000;

}
